package com.lzw.breezeNovel.model.entity.pojo.novel;

import com.lzw.breezeNovel.model.entity.pojo.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity
 * @date 2025/3/2
 * @description 章节实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Chapter extends BaseEntity {

    @Schema(description = "章节id")
    private Long chapterId;

    @Schema(description = "章节名")
    private String chapterName;

    @Schema(description = "章节内容")
    private String content;

    @Schema(description = "章节序号")
    private Integer chapterNumber;

    @Schema(description = "章节字数")
    private Integer count;

    @Schema(description = "小说id")
    private Long bookId;

    @Schema(description = "章节排序")
    private Long chapterSort;

}
